package com.bh.order.convert;

import com.bh.order.domain.JcLed;
import com.bh.order.domain.JcOrder;
import com.bh.order.vo.JcLedVO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @Description
 * @Author slx
 * @Date 2024/3/3
 */
@Mapper(componentModel = "spring")
public interface JcLedConvert {
    JcLedVO toVO(JcLed jcLed);

    JcLed toDO(JcLedVO jcLedVO);

    JcLed toLed(JcOrder jcOrder);

    List<JcLedVO> toVOList(List<JcLed> jcLedList);

    List<JcLed> toDOList(List<JcLedVO> jcLedVOList);
}
